net/http.requestAndChan.treq (field)
14 uses
net/http (current package)
transport.go#L2341: trace := rc.treq.trace
transport.go#L2370: isConnect := rc.treq.Request.Method == "CONNECT"
transport.go#L2371: hasBody := rc.treq.Request.Method != "HEAD" && resp.ContentLength != 0
transport.go#L2373: if resp.Close || rc.treq.Request.Close || resp.StatusCode <= 199 || bodyWritable || isConnect {
transport.go#L2393: tryPutIdleConn(rc.treq)
transport.go#L2405: rc.treq.cancel(errRequestDone)
transport.go#L2461: tryPutIdleConn(rc.treq)
transport.go#L2465: case <-rc.treq.ctx.Done():
transport.go#L2467: pc.cancelRequest(context.Cause(rc.treq.ctx))
transport.go#L2472: rc.treq.cancel(errRequestDone)
transport.go#L2523: resp, err = ReadResponse(pc.br, rc.treq.Request)
transport.go#L2572: if resp.Close || rc.treq.Request.Close {
transport.go#L2740: treq *transportRequest
transport.go#L2891: treq: req,
![]() |
The pages are generated with Golds v0.8.5. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |